<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{{ site_name }} | {{ page_name }}</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    {% for stylesheet in stylesheets %}
        {% if stylesheet.title != '' %}<!-- {{ stylesheet.title }} -->{% endif %}

        <link rel="stylesheet" href="{{ stylesheet.href }}">
    {% endfor %}

    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<!--
    【Bastet】
      NEKO Rebirth  ---- Arathis'软件基金会
-->
<div class="wrapper">

    <!-- Main Header -->
    {% include 'admin/header.twig' %}

    <!-- Left side column. contains the logo and sidebar -->
    {% include 'admin/sidebar.twig' %}

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            {% block title %}
                <h1>
                    {{ page_name }}
                    <small>{{ page_description }}</small>
                </h1>
            {% endblock %}
            {% block breadcrumb %}
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
                    <li class="active">Here</li>
                </ol>
            {% endblock %}
        </section>

        <!-- Main content -->
        <section class="content">

            <!-- Your Page Content Here -->
            {% block content %}
            {% endblock %}

        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <!-- Main Footer -->
    {% include 'admin/footer.twig' %}

    <!-- Control Sidebar -->
    {% include 'admin/control-sidebar.twig' %}
    <!-- /.control-sidebar -->
    <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->

<!-- REQUIRED JS SCRIPTS -->
{% for scriptfile in scriptfiles %}
    {% if scriptfile.title != '' %}<!-- {{ scriptfile.title }} -->{% endif %}

    <script src="{{ scriptfile.src }}"></script>
{% endfor %}
<script>
    //设置菜单项
    $(function () {
        $("#menuitem-{{ active_item_id }}").attr("class", "active");
    });
</script>
{% block extend_scripts %}
{% endblock %}

<!-- Optionally, you can add Slimscroll and FastClick plugins.
     Both of these plugins are recommended to enhance the
     user experience. Slimscroll is required when using the
     fixed layout. -->
</body>
</html>
